TestSensor generation