test the random functions of libssl/libcrypto