Adding polling based test functionality for sensors