simplify test_dlfcn_basic