add more tests for tokenizing with grouping