bernoulli nonstandard constructors
bernoulli set seed
replacement unit tests