add test of shared external library