code: def test_core_features_app_example():
      runner = CliRunner()
      result = runner.invoke(
          run_app,
          [
              os.path.join(_PATH_APPS, "core_features_app", "app.py"),
              "--blocking",
              "False",
              "--open-ui",
              "False",
              "--env",  # this is to test env variable
              "FOO=bar",
              "--env",
              "BLA=bloz",
          ],
          catch_exceptions=False,
      )
      assert result.exit_code == 0
  
imports: import os
  from click.testing import CliRunner
  from lightning.app.cli.lightning_cli import run_app
  from integrations_app.local import _PATH_APPS
label_desc: Use image node_id 1 for calling a global function with example usage: test_core_features_app_example() without return types