Add missing strdups in SX_PTREE_TEST context