Tests also for \r and \n