add unit test to ArrayIteratorTest class