add test for pipline