You can use a multimeter to check the continuity of the earth wire. Make sure that the earth wire is not damaged or worn out.