code: def build_test_maze_env(env_type: Type) -> DummyEnvironment:
      """Builds a dummy maze env with the given env_type (should be a subclass of DummyEnvironment)"""
      observation_conversion = ObservationConversion()
  
      return env_type(
          core_env=DummyCoreEnvironment(observation_conversion.space()),
          action_conversion=[DictActionConversion()],
          observation_conversion=[observation_conversion],
      )
  
imports: import queue
  from collections import deque
  from typing import Any, Type, Optional
  from maze.core.agent.random_policy import RandomPolicy
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.observation_conversion import ObservationType
  from maze.core.rollout.parallel_rollout_runner import ParallelRolloutWorker, EpisodeStatsReport
  from maze.test.shared_test_utils.dummy_env.dummy_core_env import DummyCoreEnvironment
  from maze.test.shared_test_utils.dummy_env.dummy_maze_env import DummyEnvironment
  from maze.test.shared_test_utils.dummy_env.space_interfaces.action_conversion.dict import DictActionConversion
  from maze.test.shared_test_utils.dummy_env.space_interfaces.observation_conversion.dict import ObservationConversion
label_desc: Use image node_id 1 for calling a global function with example usage: build_test_maze_env(env_type) and returns: env_type