electric motor testing procedure