Test of an iterator