code: def test_simple_multiple_references(ray_start_regular):
      with ray_start_client_server() as ray:
  
          @ray.remote
          class A:
              def __init__(self):
                  self.x = ray.put("hi")
  
              def get(self):
                  return [self.x]
  
          a = A.remote()
          ref1 = ray.get(a.get.remote())[0]
          ref2 = ray.get(a.get.remote())[0]
          del a
          assert ray.get(ref1) == "hi"
          del ref1
          assert ray.get(ref2) == "hi"
          del ref2
  
file_path: ray/python/ray/tests/test_client_references.py
imports: from concurrent.futures import Future
  import pytest
  import ray
  from ray._private.test_utils import object_memory_usage, wait_for_condition
  from ray._raylet import ActorID, ObjectRef
  from ray.util.client import _ClientContext
  from ray.util.client.common import ClientActorRef, ClientObjectRef
  from ray.util.client.ray_client_helpers import ray_start_client_server, ray_start_client_server_pair, ray_start_cluster_client_server_pair
label_desc: Use image node_id 9 for calling a global function with example usage: test_simple_multiple_references(ray_start_regular) and returns: list