Added a test for movement wrapping