Fix compilation of random generator unittest.

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