Fixed bugs in TabGroupTemplatesController spec. Added BoxTemplatesController spec.