This test requires a USB device implementing the USB CDC-ACM protocol configured to loop back TX to RX. For example, this Arduino sketch could be used:

void setup() {
  Serial.begin(115200);
  while (!Serial) {
    ;
  }
}

void loop() {
  if (Serial.available()) {
    Serial.write(Serial.read());
  }
}