reset the database before and after every test