IEC grounding resistor testing