Factored out some common code between the TestDb and the TestWebApi test classes, in particular the setup and tearDown methods were almost identical. Previously the TestWebApi did not initialise the database in its setup method, but now it does (because it just inherits it from TestWithDatabase. If this is problem we could easily take the 'Db.init(this.databaseFile)' out of TestWithDatabase.setup and override that method within TestDb.
Merge pull request #6 from allanderek/test-tidy

Factored out some common code between the TestDb and the TestWebApi test...