Added retries around the Pending test