Added unit test for verifying motor functionality. Updated how motor commands are sent to the server.