hist test prepare