Add tests that a query with aggregate expressions in the SELECT clause is considered an aggregate query, even if there is no GROUP BY.

Turns out that validator already did the right thing per https://github.com/julianhyde/optiq/issues/217.