issue #3767 add drawNode test for canvas