added test for segmentmanager restart