test_settings and changing back local_settings