add ut for pipe enhancement