Common tests for Canvas.updateShader command.