refactoring - making DbTest work with JUnit4