Fixed test that was occasionally failing due to randomness.
Merge pull request #268 from caser/beta-probabilities

Fixed test that was occasionally failing due to randomness.