Upload motor control test code