ed.py, ed0.py: fix incorrect unsaved changes after B filename
add command mode tests and results test*.sh, test*.sh.log