Add test for dynamic linking and update readme