improve the tests for the settings
fix tests