Testing #dump_matching_keys_to_temp_file