add config option for temporary_folder - Unit test