100% Code Coverage (for now)

* Refactored some db code to allow for easier testing
* Tested connecting to a real redis server... need to test this on Travis