catch exceptions during loadlibrary
test