Insulation resistance and electrical testing for HVAC compressor motors