write a pipe line for the test case.