add 3 test cases for function moveRight