small changes to SensorsTest.java