+ more reliable way to determine number of test groups
Merge pull request #557 from amikryukov/number-of-test-groups

More reliable way to determine number of test groups