Fixed SegmentManager test, all tests pass.