Test:Close tab on keypress