import complexity + ut
BS-10777, add unit test and clean exception of document service
Merge branch 'BS-8994_DocManag_Multiple' into 'BS-10325_DocManag_Archived'