RNG test: remove unused code + add some comments

Fix test maxint compiler option