helpers test and using the pipeline with multiple samples.