Create testIterator

a test class for Iterator