test of each iterator