fix the way we deal with UNIT_TESTING in a test

to use override_settings