iterator unit tested.