The developer of xterm actually maintains a battery of tests which exercise corner cases in the DEC VT protocol and ensure that xterm conforms in the manner that a real terminal would:
https://invisible-island.net/vttest/vttest.htmlXterm really is a terminal emulator. Most other "modern" TEs are more like shitty xterm emulators.