Adjusts tests to database settings.