added steps for checking uniqueness of template name