Created unit test for the JniDBIterator