Add test for average stream