code: def test_actor_api(ray_start_regular):
      @ray.remote
      class Foo:
          def __init__(self, val):
              self.x = val
  
          def get(self):
              return self.x
  
      x = 1
      f = Foo.remote(x)
      assert ray.get(f.get.remote()) == x
  
label_desc: Use image node_id 3 for calling a global function with example usage: test_actor_api(ray_start_regular) and returns: self