Testing preloading with XHR.