Started to reduce duplication in pipeline tests