add tests to events/tab.js for bubbling