New function BN_bntest_rand() to detect more BN library bugs.