changes to MotorTest.java