On goodness of fit tests for the Poisson, negative binomial and binomial distributions