test-lib: use more compact expression in PIPE prerequisite