Unit Test for HistogramHelper and HistogramTree