Yes, I was very surprised to see it work, too. I have opto between GND and OUT (TX), so it is not inverted there.
Even funnier - with pulldown resistor, it worked without a problem when just alternating the D13 once a second. LEDs were sinchronous. But not when doing TX/RX...
With no oscilloscope, I cant investigate closer, but the data are ok...