fix autocomplete tests for autocompleteeditor and dropdowneditor
simplify eventManager