started working on tests for utils-group
fixed and tested grouping utilities