fix tests to use settings