I think this logic should be in the `test/marionette/tests/root_settings_test.js` file.