added tests for ultrasonic sensor