[BUG #8618] fix XhrWithRemote tests