fixed an issue in the AppTest where the database wasn't scrubbed properly before running the tests