Text this: Distribution theory for tests based on the sample distribution function/