Add a sensor test.