Conditions for Hypothesis Testing