Testing memory management across DLL boundry