Add tests for SettingController