code: def test_tfidf_vectorizer_config(self):
      # Given
      config_dict = {
          "unit_name": "tfidf_vectorizer",
          "use_stemming": False,
          "word_clusters_name": None,
      }
  
      # When
      config = TfidfVectorizerConfig.from_dict(config_dict)
      serialized_config = config.to_dict()
  
      # Then
      self.assertDictEqual(config_dict, serialized_config)
  
imports: from __future__ import unicode_literals
  import io
  from snips_nlu_parsers import get_all_languages
  from snips_nlu import SnipsNLUEngine
  from snips_nlu.constants import LANGUAGE, RES_INTENT, RES_INTENT_NAME
  from snips_nlu.dataset import Dataset
  from snips_nlu.default_configs import DEFAULT_CONFIGS
  from snips_nlu.intent_classifier import LogRegIntentClassifier
  from snips_nlu.pipeline.configs import CRFSlotFillerConfig, DeterministicIntentParserConfig, FeaturizerConfig, IntentClassifierDataAugmentationConfig, LogRegIntentClassifierConfig, NLUEngineConfig, ProbabilisticIntentParserConfig, SlotFillerDataAugmentationConfig
  from snips_nlu.pipeline.configs.intent_classifier import CooccurrenceVectorizerConfig, TfidfVectorizerConfig
  from snips_nlu.tests.utils import SnipsTest
label_desc: Use image node_id 4 for calling the TestConfig obj's underlying member method code with example usage: obj.test_tfidf_vectorizer_config() without return types