update unit test for NewEditPipe