```ruby
require 'test_helper'

class ProjectTest < Test::Unit::TestCase
  # setup for test
  def setup
    @doc = Asciidoc::Document.new(File.readlines(sample_doc_path(:asciidoc_index)))
  end

  def test_root_name
    assert_equal "AsciiDoc Home Page", @doc.root.name
  end

  def test_is_section_heading
    assert @doc.send(:is_section_heading?, "AsciiDoc Home Page", "==================")
  end
end
```

Add test for other form of section heading
user
```ruby
require 'test_helper'

class ProjectTest < Test::Unit::TestCase
  # setup for test
  def setup
    @doc = Asciidoc::Document.new(File.readlines(sample_doc_path(:asciidoc_index)))
  end

  def test_root_name
    assert_equal "AsciiDoc Home Page", @doc.root.name
  end

  def test_is_section_heading
    assert @doc.send(:is_section_heading?, "AsciiDoc Home Page", "==================")
    assert @doc.send(:is_section_heading?, "=== AsciiDoc Home Page")
  end

end
```
assistant