Issue #3293813 by Spokje, longwave, quietone, catch, nod_, bbrala, xjm: Move RDF-related tests to RDF module (cherry picked from commit 555f4457)