fix codeEditorTest