change asserts in group_test in hamcrest style