Remove monkey patching
The test have to execute with the DEBUG and TEMPLATE_DEBUG = False