This tests for a bug where deleting a paragraph in preserveNewline text would introduce an extra line. You should see '\nbar' below.

foo
bar