RNG test: remove unused code + add some comments