tests refactoring
refactoring combinations counting
adding new GroupResult constructor