Testing XHR request