       ~s[<link rel="stylesheet" type="text/css" href="/a/w/e/some.css" />]
   end
 
+  test "title tag" do
+    assert title() |> flush == "<title></title>"
+    assert title("foo") |> flush == "<title>foo</title>"
+  end
+
   test "div tag" do
+    assert div()    |> flush == "<div></div>"
     assert div(nil) |> flush == "<div></div>"
     assert div("")  |> flush == "<div></div>"
     assert div([])  |> flush == "<div></div>"

      ~s[<html foo="bar"></html>]
  end

  test "meta tag", do: assert meta([]) |> flush == ~s[<meta />]

  test "link tag" do
    assert link([]) |> flush == "<link />"
    assert link([foo: "bar"]) |> flush == ~s[<link foo="bar" />]
  end


  test "html has doctype" do
    assert html([]) |> flush =~ "<!DOCTYPE html>"
  end

  test "generic tag without attributes or content" do
    assert tag(:foo) |> flush == ~s[<foo></foo>]
  end

  test "generic tag without attributes" do
