metamer: progressbar: refactored test to prevent StaleElementReferenceException on Glassfish