added bernoulli plots
added testcase for the bernoulli plots