This strategy may work for testing EditorView and others
AJAX/Promise Test Works