#2178 fix for cmis unit test breaking down

Updated the code to fix the cmis unit test breaking down.

Please check.