Moving settings override outwards to attempt to fix tests in Python2.6