histogram class working basic test