code: def test_class_yaml():
      class DummyClass:
          pass
  
      JAML.register(DummyClass)
  
      a = JAML.load("!DummyClass {}")
      assert type(a) == DummyClass
  
imports: import os
  import pytest
  import yaml
  from jina import Deployment
  from jina.constants import __default_executor__
  from jina.helper import expand_dict, expand_env_var
  from jina.jaml import JAML
  from jina.serve.executors import BaseExecutor
  from jina.serve.runtimes.gateway.gateway import BaseGateway
  from jina.serve.runtimes.gateway.http import HTTPGateway
label_desc: Use image node_id 7 for calling a global function with example usage: test_class_yaml() without return types