Add test for SettingsController