cpipe: added a test for the module