Also, I don't see any tests that use a non-text selection or a collapsed selection. see [here](https://code.google.com/p/rangy/wiki/RangySelection). It might be working fine, but I'd like to see at least one test with a collapsed selection that inserts a table, because that's something that tends to break. I've broken it often enough to know :)

You can test the actual behavior by just putting your caret in a node instead of highlighting something.