add support for a test database service.
Merge pull request #24 from bparees/test

add support for a test database service.