Added unit test for Editor.remove.