On asymptotic tests of composite hypotheses in nonstandard conditions