Make the RDF tests not fail when the RDF stuff is not installed

Change-Id: I1804ba81d33a49eb8d480cd3fb5026e69893e848