Added 'update settings' tests. Rename setSettings to updateSettings.