added sampled bws hypothesis test