fixed motor test and created WrapSerial header file
added test for motor.cpp