code: def test_setup_database_bad_override():
      """Test setup with different type than existing singleton"""
  
      database = setup_database(
          {"type": "pickleddb", "host": "test.pkl"}
      )
      assert isinstance(database, PickledDB)
  
file_path: orion/tests/unittests/storage/test_legacy.py
imports: import copy
  import logging
  import os
  import pytest
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.worker.trial import Trial
  from orion.storage.base import FailedUpdate
  from orion.storage.legacy import setup_database
  from orion.testing import OrionState
label_desc: Use image node_id 4 for calling a global function with example usage: test_setup_database_bad_override() without return types