code: def test_app_config():
      supervisor_config = MarsSupervisorConfig(
          "/path/to/packed.tar.gz",
          "mars.test_mod",
          cpu=2,
          memory="10 GiB",
          env={"TEST_ENV": "test_val"},
          extra_args="-Dsupervisor.default_cpu_usage=0",
      )
      worker_config = MarsWorkerConfig(
          "/path/to/packed.tar.gz",
          worker_cache_mem="10g",
          spill_dirs=["/spill/dir1", "/spill/dir2"],
      )
  
      config = MarsApplicationConfig(
          name="config-name",
          queue="default",
          supervisor_config=supervisor_config,
          worker_config=worker_config,
      ).build()
      assert config["name"] == "config-name"
      assert config["queue"] == "default"
  
imports: import os
  from ....None import __file__
  from ..config import SecurityConfig, AppFileConfig, AppMasterConfig, MarsApplicationConfig, MarsSupervisorConfig, MarsWorkerConfig
label_desc: Use image node_id 4 for calling a global function with example usage: test_app_config() without return types