With the battery hooked up, do a voltage drop test between the negative post (not the cable) and the motor and another one to the chassis. This will verify that all your grounds are good. Readings should be near 0. YouTube has some very good videos on how to do this if you need help. FYI, a voltage drop test is the cadillac of tests for electrical problems.