refine TestEditor (test_editor.html)