changes in db service and tests
Merge pull request #49 from Tokanagrammar/db-service-tests

changes in db service and tests