some changes to make it easier to run tests
Merge pull request #6 from bobpace/dbConnectionForTests

some changes to make it easier to run tests