Add a new interface to create a cursor.
Add tests for the new interface to create a cursor.