add PipeTest

FIXIT: test fails when attempting to send data which length exceeds pipe
buffer size.