[#2063] Fix template to be detected as jinja. Convert to new tests.