The unit tests already do that, in a way: they read in the same filename with different xmax for two consecutive tests.  (This structure is here because those tests failed the first time I tried them!)  But I can add two more tests, changing xmin and filename, just to be sure.