Restores the behaviour that tabbar is visible for all viewspaces if only one has enough tabs. Also fix the tests