Add more tests for IDBIndex openCursor