Cuba’s government said it provided free internet to the Communist-run island’s more than 5 million cellphone users on Tuesday, in an eight-hour test before it launches sales of the service.