Hypothesis Testing with Finite Statistics