Added test for `group` in combination with `select`

Removed the group key from the resulting events in case it is
not in the `select` keys.