Added tests for SUM, AVG, and COUNT stream aggregates.