ed.py: fix typo in l(), o() + 1 not 11
also revise test_ed.py and make new test_ed.log