code: def test_dumps_loads_Serialized():
      msg = {"x": 1, "data": Serialized(*serialize(123))}
      frames = dumps(msg)
      assert len(frames) > 2
      result = loads(frames)
      assert result == {"x": 1, "data": 123}
  
      result2 = loads(frames, deserialize=False)
      assert result2 == msg
  
      frames2 = dumps(result2)
      assert all(map(eq_frames, frames, frames2))
  
      result3 = loads(frames2)
      assert result == result3
  
imports: from __future__ import annotations
  import sys
  import pytest
  from dask.sizeof import sizeof
  from distributed.compatibility import WINDOWS
  from distributed.protocol import dumps, loads, msgpack, to_serialize
  from distributed.protocol.cuda import cuda_deserialize, cuda_serialize
  from distributed.protocol.serialize import Pickled, Serialize, Serialized, ToPickle, dask_deserialize, dask_serialize, deserialize, serialize
  from distributed.utils import nbytes
  from distributed.utils_test import captured_logger
label_desc: Use image node_id 9 for calling a global function with example usage: test_dumps_loads_Serialized() without return types