Fixed handling of template loader tests.

Previously, the CachedLoaderTests were never run at all.