code: def test_configuration(dumbalgo):
      """Check configuration getter works for nested algos."""
      nested_algo = {"DumbAlgo": dict(value=6, scoring=5)}
      algo = dumbalgo(8, value=1)
      config = algo.configuration
      assert config == {
          "dumbalgo": {
              "seed": None,
              "value": 1,
              "scoring": 0,
              "judgement": None,
              "suspend": False,
              "done": False,
          }
      }
  
file_path: orion/tests/unittests/algo/test_base.py
imports: import pytest
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Integer, Real, Space
  from orion.core.utils import backward, format_trials
label_desc: Use image node_id 2 for calling a global function with example usage: test_configuration(dumbalgo) without return types