Fixed a bug in DeleteDocs test