JAVA-772: Added test to ensure CursorNotFoundException is properly thrown