test poisson and gaussian