Test for HistogramAverageHandler