Fixed NullPointerException on TemplateFetcherTest