Added most of the Cache tests

Dropped some unnecessary try/catch blocks and updated the Database class to
not use any data sources that lack a driver.