Generate the files for test