ed.py: working with new ed0.py
fix bugs, add .log files to record successful test_ed*.py output