Electricity and magnetic test