fix bug in test 1 for fcuntion moveLeft