Changed test for a valid to canvas to check the constructor name

This case assures that the canvas is indeed a canvas regardless of where it is located.