added test for random number generation
replace rand generation with instance of Random
Revert "replace rand generation with instance of Random"

This reverts commit 66b14a919f111cf0b8feb1f08485f098e9c14025.
reset seed after ordering
Revert "added test for random number generation"

This reverts commit 4b46c9b2d071f2416f627fad8a76b090bc99f8e6.
added test created by @myronmarston
Merge pull request #837 from mshytikov/rand

Replace Kernel.srand with Random.new