Add tests for nested documents dossiers.