Fixed broken test on bad route.
Fixed broken test on render template.