[BUG #8618] fix Xhr tests