Updated settings to work with tests in Django 1.3