Pasting with new lines creates new notes, Ticket0438
Fixed a copy/paste error in testBefore/After wrappers
Fixed a few bugs in cursorApi