Would it be better to have this afterEach instead? This is since the preferences are still there are after running any test, and having this after each test could clean that too.