added tests for tab highlighting