Fixing tests to not use deprecated UnhandledAlertException.getAlert() method