Add tests to DBServiceImpl.java