Hypothesis testing in experiments