Moved the ability to upsample and downsample out of the sample size testing