code: def hierarchical_trial():
      """Stab trial with hierarchical params."""
      params = [
          dict(
              name="yolo.first", type="categorical", value=("asdfa", 2)
          ),
          dict(name="yolo.second", type="integer", value=0),
          dict(name="yoloflat", type="real", value=3.5),
      ]
      return Trial(params=params)
  
file_path: orion/tests/unittests/core/test_utils_format.py
imports: import pytest
  from orion.core.utils.format_trials import dict_to_trial, trial_to_tuple, tuple_to_trial
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 2 for calling a global function with example usage: hierarchical_trial() and returns: Trial