remove redundant as(nil) per @janpaul123's suggestion
Mock SecureRandom.uuid