add aggregation functions including corr, covar,regr-slope, regr-interce...

add aggregation functions including corr, covar,regr-slope, regr-intercept and unit tests.

Instead of adding a new base class, can you refactor `AbstractTestAggregationFunction` to take two blocks?