Clarify the mocked random code