Fix unit test for JToolbarButtonConfirmTest