Added pipe to unit test