Tweak some test code to work with librdf 1.0.10