Add test of errors in the templatetag, and improvements in the test of the old template loader