#177 test null argument check in bernoulli distribution
#177 test probability argument check in bernoulli distribution