Fix test for having clause with aggregated select-many
Add test for NH-3025 - Linq grouping with aggregated select-many does not produce join