Testing for shared libraries