Added tests for pdoiterator