modified setup for tests to use local db