Fixed ToolBarTest warnings