[Pipelines] Clean pipelines test and remove unnecessary code
This PR cleans up pipelines a bit:

1) Fixes non-working pipeline creation test
2) Remove unnecessary code (due to PR #3116) in pipelines as discussed with @thomwolf in PR #3413

Note: Tested on QA pipelines slow tests.