SSP-1947 added before and after methods for tests altering test database. All tests now start with a clean database.