Fix test cases to accommodate rdflib changes