add test for moving a cursor backward