Add assertTemplateName and assertNotTemplateName