code: def test_toplevel_change():
      baseline = kernel.cache_key
      updated = apply_src_change(kernel, "i + 1", "i + 2")
      assert baseline != updated
  
imports: import importlib.util
  import os
  import shutil
  import tempfile
  import pytest
  import torch
  import triton
  import triton.language
  from triton.runtime.jit import JITFunction
label_desc: Use image node_id 7 for calling a global function with example usage: test_toplevel_change() without return types