Adds test for template syntax validation
Merge branch 'templatesyntax' into all