Clear the database as well as settings in some bdd tests.