added rng to beta_binomial with basic test