Segment unit tests #48