code: def test_kernelspec_app():
      app = KernelSpecApp()
      app.initialize(["list"])
      app.start()
  
imports: import os
  import warnings
  from jupyter_client.kernelspecapp import InstallKernelSpec, KernelSpecApp, ListKernelSpecs, ListProvisioners, RemoveKernelSpec
label_desc: Use image node_id 2 for calling a global function with example usage: test_kernelspec_app() without return types