reduce # random numbers in test cases