Test examples for build shared library