Added tests for all the sql-aggregate functions.
281 files changed