updated testHeaders helper in testgroup template to take the TestHeaderConfigs
factor out the export button function in testgroup.js