code: def test__update_metadata(data_dict):
      exp = SimpleExplainerWithInit()
      meta_init = copy.deepcopy(exp.meta)
      exp._update_metadata(data_dict)
      assert exp.meta == {**meta_init, **data_dict}
  
imports: import copy
  import numpy
  import pytest
  from alibi.api.interfaces import Explainer, Explanation, FitMixin
label_desc: Use image node_id 9 for calling a global function with example usage: test__update_metadata(data_dict) without return types