improved RDF tests

as suggested by @tillsc, this is more robust in the face of alternative
Turtle representations