Added tabs test.
Refactored tabs.