[#46283725] Fixed tests for documents.