DC motor testing