Fix RDFNode#valueOf tests to use createLiteral