improving tests
test checks the distribution of random number