Mock DB for testing.