added tests for pipeline operator