fs: pipe: Add tests

A first in a long series of tests and fixes.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>