Fix unittest for random (#184)
Fix unittest for random (#184)

Global variables cannot be used directly in unit tests as they are
not reset at the beginning of each test case.
gitesei/faunus,gitesei/faunus,mlund/faunus,bjornstenqvist/faunus,mlund/faunus,bjornstenqvist/faunus,mlund/faunus,gitesei/faunus,bjornstenqvist/faunus