code: def test_kappa_reset_state():
      # Initialize
      kp_obj1, kp_obj2, kp_obj3 = initialize_vars()
  
      # reset states
      reset_obj_states(kp_obj1, kp_obj2, kp_obj3)
  
      # check results
      check_results([kp_obj1, kp_obj2, kp_obj3], [0.0, 0.0, 0.0])
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.metrics import CohenKappa
  from tensorflow_addons.testing.serialization import check_metric_serialization
label_desc: Use image node_id 10 for calling a global function with example usage: test_kappa_reset_state() without return types