added test for Tab and updated component based on tests
added tests for Tooltip component
updated Tooltip component based on tests