updated test command
added xhr spy