Running through randomized test cases.