bug fix on SegmentTest