testing xhr interaction