code: def test_pat009_patch_extend():
      p = Patch()
      p.extend(["extend"])
      data = patch_to_dict(p)
  
      assert data["operations"][0] == {
          "operation": "Extend",
          "location": [],
          "params": {"value": ["extend"]},
      }
  
imports: import json
  import pytest
  from dash import Patch
  from dash._utils import to_json
label_desc: Use image node_id 10 for calling a global function with example usage: test_pat009_patch_extend() without return types