Adding unit test for settings class