Merge pull request #8 from liangji101/develop

update functional test
update sharelib folder and tests