code: def test_from_json_bad():
      try:
          from_json({"type": "zzz"})
          assert False
      except AssertionError:
          assert True
  
      try:
          from_json({"type": "Duplicated", "keep": "zzz"})
          assert False
      except AssertionError:
          assert True
  
      try:
          from_json({"type": "Duplicated"})
          assert False
      except AssertionError:
          assert True
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_from_json_bad() without return types