Removed useless function and added Sensors test.