Throw db error along with CASServerError, add tests for setup/teardown
of database