Added test for sensor manager