Complete settings functionality. All tests cases are covered.