Estimation and testing goodness-of-fit for some models of codon fixation variability