No longer creating tests after regenerating files when regen=True