fix broken histogram tests