fixed error in MotorTest.java