moved test db creation methods to TestDbFactory.java