Tests for aggregation functions were added.