simplify pipe test