Factor out History tests that were coupled to EditorView.