Add tests for caching of XMLHttpRequest.response.