Test that CanvasManager tracks creation and destruction of 2D canvases.