Remove randomness from test cases.