now tests if only one tabpanel is visible what happens