Added test script for sensors.