This can be used by the test framework to ensure that the correct prefs are
set for a test without restarting the browser