Make sms settingsURL generic, and add test.