Set LD_LIBRARY_PATH for tests.