added some comments to testCasHistogram