configure database for tests