RandomThresholdGenerator unit tests complete