Randomize tests; change default threshold default to 0 instead of -1