Test setting DJANGO_SETTINGS_MODULE