Update tests using v-rescale

The change to the RNG implementation introduced a minor bug that had
the only practical effect of changing the sequence of random numbers.
The tests need updating for that new sequence.

Change-Id: I2fccb6cc02a14564e8f0fc12bfad96f589b6b0ba
Merge release-5-0 into master

Change-Id: Ie7ce82f1353e98523aab6b5e72a203f2e0fb36f0