Adding unit test for settings