Test fits file generator