add missing test_util file
add groups function
rename groups -> groupsizes