Unit test and fixes for RDF import/export under PCL