add test for RTLD_GLOBAL of dlopen