Use an in-memory sqlite database in test mode.

This speeds up the tests a bit without any tradeoff that I am aware of.
Merge pull request #235 from CenturyLinkLabs/chore/in-memory-test-db

Use an in-memory sqlite database in test mode.