add test for cursor moving forward