Test that you cannot add a template two templates with same name