fix the sensor tests.