add tests for pipeline