Add abstractNode.generateDataUri() method and test.