Fixed ImproperlyConfigured exception in quicktest.py