OCL: Refactored RNG usage in tests