Code and scripts for pipeline testing