test: better group test cases