Try to fix rng unittest.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>