I added a 1-line fix in template/loaders/cached.py that pass all tests (and when removed, that last test fails). 
Here it is: 

L59 of cached.py: 
`self.template_cache[key] = TemplateDoesNotExist`