Tests tempalte_name()