Fixed unit test failure for testUpdatePropertiesForDocument