code: def test_safe_encode():
      a = "\xc3\xa9lg"
      out = safe_encode(a)
      assert out.value == a
  
imports: import os
  from nibabel.optpkg import optional_package
  import pytest
  from nipype.utils.provenance import ProvStore, safe_encode
label_desc: Use image node_id 3 for calling a global function with example usage: test_safe_encode() without return types