Standatd C++ rnd() testing