Segment of trail to shut down Friday for pipeline testing