add UT for share lib scanner