Update moveX method and add test coverage