code: def test_callback_3():
      def callback_1(access):
          access.pass_through["stuff1"] = 1
  
      def objective_function(access):
          if access.nth_iter == 0:
              assert access.pass_through["stuff1"] == 0
          else:
              assert access.pass_through["stuff1"] == 1
  
          return 0
  
      hyper = Hyperactive()
      hyper.add_search(
          objective_function,
          search_space,
          n_iter=100,
          callbacks={"after": [callback_1]},
          pass_through={"stuff1": 0},
      )
      hyper.run()
  
file_path: Hyperactive/tests/test_callbacks.py
imports: import copy
  import pytest
  import numpy
  import pandas
  from hyperactive import Hyperactive
label_desc: Use image node_id 4 for calling a global function with example usage: test_callback_3() and returns: int