code: def test_map(doc):
      """std::map <-> dict"""
      d = m.cast_map()
      assert d == {"key": "value"}
      assert "key" in d
      d["key2"] = "value2"
      assert "key2" in d
      assert m.load_map(d)
  
      assert doc(m.cast_map) == "cast_map() -> Dict[str, str]"
      assert doc(m.load_map) == "load_map(arg0: Dict[str, str]) -> bool"
  
imports: import pytest
  from pybind11_tests import ConstructorStats, UserType
  from pybind11_tests import stl
label_desc: Use image node_id 5 for calling a global function with example usage: test_map(doc) without return types