Added tests for settings class