Tests fail with NPE when copying to trash [RTFACT-16769]

external_document