sets up database for testing environment