Add tests to binomial distribution computation