Fix tests broken after refactoring editors.models.