I would like to redefine the method Kernel#rand inside a test method, and
reset it in the end again.
But everything I try fails. If I redefine it outside my module and class,
it works. But I would like to do it inside my test method.

Thx for any hint.
Daniel