code: def test_serialization_edge():
      edge = e(edge_query="zzz", name="abc")
      o = edge.to_json()
      edge2 = from_json(o)
      assert isinstance(edge2, ASTEdge)
      assert edge2.edge_query == "zzz"
      assert edge2._name == "abc"
      o2 = edge2.to_json()
      assert o == o2
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_serialization_edge() without return types