test of pipeline with multiple iterations