avoid randomness in test case