Testing out censoredSegment function.