Avoid double call to getNewXAResourceRecord in one round of recovery
Updated test to use a none-serializable XA resource