code: def test_card_tab_works():
      profile_report = "pandas-profiling"
      tab = (
          CardTab("tab", "{{MARKDOWN_1}}{{HTML_1}}{{PROFILE_1}}")
          .add_html("HTML_1", "<span style='color:blue'>blue</span>")
          .add_markdown("MARKDOWN_1", "#### Hello, world!")
          .add_pandas_profile("PROFILE_1", profile_report)
      )
      assert (
          tab.to_html()
          == "<h4>Hello, world!</h4><span style='color:blue'>blue</span>"
          + "<iframe srcdoc='pandas-profiling' width='100%' height='500' frameborder='0'></iframe>"
      )
  
imports: import uuid
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.cards import BaseCard, CardTab
label_desc: Use image node_id 2 for calling a global function with example usage: test_card_tab_works() without return types