further batch() tests
move createIterator to db.iterator, add tests