On the Theory of Testing Composite Hypotheses with One Constraint