Add a unittest with an IsingModel for mag ordering.