#987 Tabs: Update and refactor tests.