updating unit test to test for cursor_mark logic