First unit tests

- Added a base class that spins up a fresh db for each test.  Should
  test if this is overkill