Mocking open to test pipeline files without real files
Various test fixes
Before and After yaml formatting tests
Calling pipeline validation methods
Implementation of yaml validation