[tests] fix unknown random()

Authored by sgerlach on May 31 2020, 2:30 PM.