can we also add a test for:

- agg type is missing
- 2 agg types definitions
- 2 "aggs" definitions