fixes the number of tabs test in MainViewTest file.