added test code

added the code to run the sensor tests
update