pipeline() implented
tests for pipeline()