updated db setup for tests