Define test pipe if not defined