Tests for Insert and union methods of TemplateGroupSet