This tests for a bug where moving the selection to the end of the document would move it outside of an editable region if the selection started just before a table.

foo

In the above editable region, you should see 'foo' in the bordered table and 'bar' outside it.