Test editing, add line, insert text into line