tests for next_cursor_mark

Make sure support for next_cursor_mark does not go away by careless
change.