code: def test_nested_suggestion():
      class TestSuggestion(Searcher):
          def suggest(self, trial_id):
              return {"a": {"b": {"c": {"d": 4, "e": 5}}}}
  
      searcher = TestSuggestion()
      alg = SearchGenerator(searcher)
      alg.add_configurations({"test": {"run": "__fake"}})
      trial = alg.next_trial()
      assert "e=5" in trial.experiment_tag
      assert "d=4" in trial.experiment_tag
  
file_path: ray/python/ray/tune/tests/test_searcher_utils.py
imports: import pytest
  from ray.tune.search import BasicVariantGenerator
  from ray.tune.search.repeater import Repeater
  from ray.tune.search import Searcher, ConcurrencyLimiter
  from ray.tune.search.search_generator import SearchGenerator
label_desc: Use image node_id 1 for calling a global function with example usage: test_nested_suggestion() and returns: dict