Histogram: fixes previous change

change made in Histogram:cabal test and hlint warning