add test 1 for function moveLeft