Modified pipeEvent() and setPipe(), added several test codes for it