fixed bugs in RobotTest.java