Refactored to reflect that the distribution could be provided by some
other cdf than chi square.
Added SPLL Test class.