code: def test_initialization():
      db = {"ukbench09060.jpg": "e064ece078d7c96a"}
      threshold = 10
      hasheval_obj = HashEval(
          test=db,
          queries=db,
          distance_function=HAMMING_DISTANCE_FUNCTION,
          threshold=threshold,
          num_dist_workers=4,
      )
      assert hasheval_obj.queries and hasheval_obj.test
      assert hasheval_obj.threshold == threshold
      assert (
          hasheval_obj.distance_invoker(
              "e064ece078d7c96a", "a064ece078d7c96e"
          )
          == 2
      )
      assert hasheval_obj.num_dist_workers == 4
  
file_path: imagededup/tests/test_retrieval.py
imports: import sys
  import pytest
  import numpy
  from sklearn.metrics.pairwise import cosine_similarity
  from imagededup.handlers.search.retrieval import HashEval, cosine_similarity_chunk, get_cosine_similarity
  from imagededup.methods.hashing import Hashing
label_desc: Use image node_id 3 for calling a global function with example usage: test_initialization() without return types