std: update rand-using tests, r=burningtree