Asymptotic distribution and local power of the log-likelihood ratio test for mixtures: bounded and unbounded cases