Add Segment test