add test for editing a file with CR/LF in the gui