Magnetic field tester