Created a tab() method
Created tests for the new tab() method