The groupName needs to be unique for every test. Hence it is inside the test. The value for parameterFile is different for some tests. The galleryTemplateName remains the same so will move it up.