Created tests for pipeline