Add new test for cursor
Store cursor