Added support for FieldSet widget and tests for contentpanel. Also improved panel header finding to avoid finding contents of a panel instead.