BUG: Allow N to be a list for Binomial node
TST: Add unit tests for Binomial random sampling
TST: Add unit tests for Bernoulli random sampling