improve version group id test

less likely to get StaleElementException from Selenium and ConcurrentModificationException from JSF