code: def test_serialization_node():
      node = n(query="zzz", name="abc")
      o = node.to_json()
      node2 = from_json(o)
      assert isinstance(node2, ASTNode)
      assert node2.query == "zzz"
      assert node2._name == "abc"
      o2 = node2.to_json()
      assert o == o2
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_serialization_node() without return types