progs/tests: Use rand() instead of random().

Forgot these on previous commit.
1 file changed