added tests for HistogramHelper

added 5 rspec tests