code: def test_config_updated(self):
      config = DictConfig(
          {
              "cls": "nemo.collections.asr.modules.SpectrogramAugmentation",
              "params": {
                  "rect_freq": 50,
                  "rect_masks": 5,
                  "rect_time": 120,
              },
          }
      )
      obj = Serialization.from_config_dict(config=config)
      new_config = obj.to_config_dict()
      assert config != new_config
      assert "params" not in new_config
      assert "cls" not in new_config
      assert "_target_" in new_config
  
file_path: NeMo/tests/core/test_serialization.py
imports: import pytest
  from omegaconf import DictConfig
  from nemo.collections.asr.models import EncDecCTCModel
  from nemo.collections.asr.modules import SpectrogramAugmentation
  from nemo.core.classes.common import Serialization
label_desc: Use image node_id 3 for calling the TestSerialization obj's underlying member method code with example usage: obj.test_config_updated() without return types