fixed prng unit test

* renamend prng.int() to prng.integer() in unit test
* some code cleanup