added test for moving