Adds test for template syntax validation