Update example test settings.

Adding MIDDLEWARE_CLASSES so Django 1.7 does not complain
during the system check when running tests.