change how the mock database is loaded in tests.