Add test for updating settings. #2197