Add tests for exception on simple fields with group by.