c++11 random engine test