I would suggest to use a simple mock object for `settings` if possible as it is a global singleton and may be included in other tests.