Replace mocked editor with real one for unit tests