Improve unit tests to measure the distribution of random values better
Change getRandomBytes() to getBinary()