Testing the motor driver circuit