added h-adaptivity test for magnetic lenses