fleshes out more unit tests for Pipe