tests: add test program to harness the editor.