setting up mock database for testing