document-loader test: delete the document after the document runs disposal

The document sets metadata on the disposal, if we delete the file
under its feet then we will get a warning about not able to set the
metadata.