Generate necessary files before running tests