set LD_LIBRARY_PATH before running tests.