Add tests for removeTab()