Consolidated set__Tag() methods for templates to setDelimiters(), updated tests