SensorTest adapted