This is a bug in the test's HTML strings. It isn't a bug in the editor, right. But, since the string of 'actual' HTML is turned into DOM for normalization—which is a critical bug in the unit testing infrastructure—who knows how many editor bugs go unnoticed... I've actually witnessed some of these during experimentation. Discussion should continue in #497.