Allow sampling of test items according to probabilities