Added a little code to HypothesisTest (reworked to make static methods)