code: def test_subheader():
      script = AppTest.from_string(
          """
          import streamlit as st
  
          st.subheader("This is a subheader")
          st.subheader(
              "This is a subheader with anchor",
              anchor="subheader anchor text"
          )
          st.subheader("This is a subheader with hidden anchor", anchor=False)
          """,
      )
      sr = script.run()
  
      assert len(sr.subheader) == 3
      assert sr.subheader[1].tag == "h3"
      assert sr.subheader[1].anchor == "subheader anchor text"
      assert sr.subheader[1].value == "This is a subheader with anchor"
      assert sr.subheader[2].hide_anchor
  
      repr(sr.subheader[0])
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 13 for calling a global function with example usage: test_subheader() without return types