code: def test_id_map(id_map):
      assert id_map.get_ids() == [0, 1, 2]
      assert id_map.get_names() == ["file1", "file2", "file3"]
  
      assert id_map.get_id(0) == "file1"
      assert id_map.get_id(2) == "file3"
      assert id_map.get_name("file2") == 1
      assert id_map.get_name("file4") == 3
  
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_id_map(id_map) without return types