Finish both implementation and test case for user-create pipe.