integration test for filtering with grouping by a JS expr

Slightly improved failure messages for containsAtLeast and containsExactly