[ELF][test] add dynamic library search