io.Pipe test.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>