started to write tests for the histogram pyramid data structure