code: def test_object_ref_properties():
      id_bytes = b"0011223344556677889900001111"
      object_ref = ray.ObjectRef(id_bytes)
      assert object_ref.binary() == id_bytes
      object_ref = ray.ObjectRef.nil()
      assert object_ref.is_nil()
      with pytest.raises(ValueError, match=r".*needs to have length.*"):
          ray.ObjectRef(id_bytes + b"1234")
      with pytest.raises(ValueError, match=r".*needs to have length.*"):
          ray.ObjectRef(b"0123456789")
      object_ref = ray.ObjectRef.from_random()
      assert not object_ref.is_nil()
      assert object_ref.binary() != id_bytes
      id_dumps = pickle.dumps(object_ref)
      id_from_dumps = pickle.loads(id_dumps)
      assert id_from_dumps == object_ref
  
imports: import logging
  import os
  import pickle
  import socket
  import sys
  import time
  import numpy
  import pytest
  import ray
  import ray._private.utils
  import ray.cluster_utils
  import ray.util.accelerators
  from ray._private.test_utils import check_call_ray, wait_for_num_actors
  import setproctitle
label_desc: Use image node_id 5 for calling a global function with example usage: test_object_ref_properties() without return types