This commit simplifies the completion tests for pipes by moving them to TEST_TEMPLATE. PR Close #36407