Initialize canvasTooBig_ member
Make testCanvasSize a static function