moved SETTINGS to a Cache class attribute to avoid usage of global.
reset settings before running the test cases.