Bayesian and frequentist approaches on estimation and testing for a zero-inflated binomial distribution