Fix tests for insertlinebreak and insertparagraph