Currently I haven't come up of a decent way to automate these tests (patches welcome;-) however the follow pages contain a number of different test cases for testing Edit with Emacs and it's associated edit-server.