added xhr test