Resistance test of electrical appliances