test random, randomness is not garanteed in each thread