FIX: minor bug in tests for pipelines