sensor test script