add cleaning of temporary test files (with option to keep them)