code: def test_getitem(self):
      assert self.av[1] is self.d[1]
      assert self.av[2]["color"] == 1
      pytest.raises(KeyError, self.av.__getitem__, 3)
  
imports: import pickle
  import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestAtlasView obj's underlying member method code with example usage: obj.test_getitem() without return types