test: dlopen, friend class