code: def test_pass_actor_handle(shared_ray_instance):
      @ray.remote
      class Actor:
          def ping(self):
              return "hello"
  
      @ray.remote
      def caller(handle):
          assert isinstance(handle, ray.actor.ActorHandle), handle
          return ray.get(handle.ping.remote())
  
      a1 = Actor.bind()
      dag = caller.bind(a1)
      print(dag)
      assert ray.get(dag.execute()) == "hello"
  
imports: import pytest
  import ray
  from ray.dag import PARENT_CLASS_NODE_KEY, PREV_CLASS_METHOD_CALL_KEY
label_desc: Use image node_id 8 for calling a global function with example usage: test_pass_actor_handle(shared_ray_instance) and returns: ray, str