When only status code is sent along template doesn't render

You might want to handle this differently, but I wanted to illustrate the problem I was seeing. When the context wasn't set template.render would return an empty string. 

The 404 test is failing both before and after the change, so that will need to be fixed. I can look into it more to figure out what's going on, but wanted to show you what I was seeing.