This branch fixes bugs in the "pipelines" tests.
We should build on it to resolve #29, else tests won't cover the actual bug
The "fixed" tests: