added test class for Settings