integration test for wildcard with groupBy