added initial max_segments test file