test the probability