@Test
public void removeTabTest() throws Exception {

  XulTabs tabs = (XulTabs) doc.getElementById( "tabs" );
  XulTab tab = (XulTab) doc.getElementById( "tab1" );
  tabs.removeChild( tab );
  assertEquals( 3, tabs.getTabCount() );
}