add restriction on the seed
add testRandGen.cpp