Iterator testing.