refactored distribution function signature tests for:

beta, cauchy, chi square, bernoulli, beta_binomial, binomial,
hypergeometric, neg_binomial, poisson