Tests for SettingsManager

See https://github.com/wtud/tsap/issues/42.