update sharelib folder and tests

update sharelib folder and tests