add unit tests for SettingsUtil