fixed nonNumericGroups handling, added test improvements