Fixed ToolBarTest warnings
Add functionality to work with table headers (fixes #869)