Fixing compileTemplateData tests