Fixed broken mock editor in StyledEditorTest