fixed db tests, added reasonable logging config for tests