motor_test.cc to test motor control