Test and fix Base64::encode