Testing the canvas2d