On the likelihood ratio test for compound distributions for homogeneity of mixing proportions