Adds test grouping to parallel test execution script