restore tests to before thresholding fix.