Testing DC motor