Added tests for ArrayIterator