Random injected in constructor for testability