DRILL-773: Add test for aggregate function with drill custom function
The actual fix is in Optiq.