how do you troubleshoot an electric motor