implemented unit test for editorWindow. Although it's not really much, since most methods in editorWindow do not need any parameters and all the other can only manually tested.... .
ups forgot this.. read previous commit