Tests: test no fileToElement method.
Tests: undo and redo.
Check if node is element in widget.getByElement.
Handle selection in upload widget.