Change output names of test.fits files so that they are unique for each test.