Wrote code for ideaEditor, need to write test code