debug pipe(), add a test about that