VE-1412 Adding test for template insertions