Add dylib loading tests