Fix test for rdf in c.pkg_dict