Explicitly set MIDDLEWARE_CLASSES for tests.

To get Django 1.7 check to be quiet.