add test 6 for function moveLeft, fix a bug in test 6 function moveRIght