Fixing the running of tests locally with Django 1.7