Simplify test for grouping deprecations