code: def test_payload_copy():
      """Test that Payload creates an exact copy when passing a Payload instance to the constructor."""
      payload = Payload(None)
      payload._origin = "origin"
      payload._consumer = "consumer"
      payload._request_queue = "MockQueue"
      payload._response_queue = "MockQueue"
      payload_copy = deepcopy(payload)
      assert payload_copy._origin == payload._origin
      assert payload_copy._consumer == payload._consumer
      assert payload_copy._request_queue == payload._request_queue
      assert payload_copy._response_queue == payload._response_queue
  
imports: import os
  import pathlib
  import pickle
  from copy import deepcopy
  from unittest import mock
  from unittest.mock import Mock
  import pytest
  from lightning.app import LightningApp, LightningFlow, LightningWork
  from lightning.app.runners.multiprocess import MultiProcessRuntime
  from lightning.app.storage.payload import Payload
  from lightning.app.storage.requests import _GetRequest
label_desc: Use image node_id 1 for calling a global function with example usage: test_payload_copy() without return types