Added key tests to settings class.