code: def test_as_html(self):
      # given
      p = figure(width=400, height=400)
      p.circle(size=20, color="navy", alpha=0.5)
  
      # when
      file = File.as_html(p)
  
      # then
      self.assertEqual(file.extension, "html")
      self.assertTrue(
          file.content.lstrip().startswith(
              '<!DOCTYPE html>\n<html lang="en">'.encode("utf-8")
          )
      )
  
imports: import pickle
  import unittest
  from io import BytesIO, StringIO
  import numpy
  from bokeh.plotting import figure
  from PIL import Image
  from neptune.exceptions import NeptuneException, StreamAlreadyUsedException
  from neptune.internal.types.file_types import FileType, InMemoryComposite
  from neptune.internal.utils.images import _get_pil_image_data
  from neptune.types import File
  from tests.e2e.utils import tmp_context
label_desc: Use image node_id 13 for calling the TestFile obj's underlying member method code with example usage: obj.test_as_html() without return types