code: def test_format_node():
      node = pe.Node(
          niu.IdentityInterface(fields=["a", "b"]), name="node"
      )
      serialized = format_node(node)
      workspace = {"Node": pe.Node}
      exec("\n".join(serialized), workspace)
      assert (
          workspace["node"].interface._fields == node.interface._fields
      )
  
imports: import os
  from copy import deepcopy
  import pytest
  from ...None import engine
  from ....interfaces import base
  from ....interfaces import utility
  from ....None import config
  from ..utils import clean_working_directory, write_workflow_prov, load_resultfile, format_node
label_desc: Use image node_id 12 for calling a global function with example usage: test_format_node() without return types