Improved tests for RDF.