Test for movement in magnetic field