Fixing some small problems in the motor test file that I missed