Added more tests and code for cursors.
Added FirstExample method with a test.