Test histogram