Added tests for ObjectIterator