Builds a simple form to test the #group property on #type 'fieldset'.
function form_test_group_fieldset() {
$form['fieldset'] = array(
'#type' => 'fieldset',
'#title' => 'Fieldset',
);
$form['meta'] = array(
'#type' => 'container',
'#title' => 'Group element',
'#group' => 'fieldset',
);
$form['meta']['element'] = array(
'#type' => 'textfield',
'#title' => 'Nest in container element',
);
return $form;
}