test events.views environment. Error when importing django.views.decorators.http