fix 5624
Merge pull request #5625 from adobe/couzteau/fix-5624

Fix unit tests for DocumentManager