Add test for hiding tab
Add hide event
Merge branch 'hide-event'