We consider a problem of testing mixture proportions using two-sample data, one from group one and the other from a mixture of groups one and two with unknown proportion, lambda, for being in group two. Various statistical applications, including microarray study, infectious epidemiological studies, case-control studies with contaminated controls, clinical trials allowing "nonresponders," genetic studies for gene mutation, and fishery applications can be formulated in this setup. Under the assumption that the log ratio of probability (density) functions from the two groups is linear in the observations, we propose a generalized score test statistic to test the mixture proportion. Under some regularity conditions, it is shown that this statistic converges to a weighted chi-squared random variable under the null hypothesis of lambda = 0, where the weight depends only on the sampling fraction of both groups. The permutation method is used to provide more reliable finite sample approximation. Simulation results and two real data applications are presented.