[BUG #7300] add renderToNode() with tests