code: def test_add_config_dict_sequential():
      # https://github.com/IDSIA/sacred/issues/409
  
      adict = ConfigDict(
          dict(dictnest2={"key_1": "value_1", "key_2": "value_2"})
      )
  
      bdict = ConfigDict(
          dict(
              dictnest2={
                  "key_2": "update_value_2",
                  "key_3": "value3",
                  "key_4": "value4",
              }
          )
      )
  
      final_config = bdict(preset=adict())
      assert final_config == {
          "dictnest2": {
              "key_1": "value_1",
              "key_2": "update_value_2",
              "key_3": "value3",
              "key_4": "value4",
          }
      }
  
imports: import pytest
  import sacred.optional
  from sacred.config import ConfigDict
  from sacred.config.custom_containers import DogmaticDict, DogmaticList
label_desc: Use image node_id 17 for calling a global function with example usage: test_add_config_dict_sequential() without return types