Added unit test for the settings class.