added testMotor