Test that XMLHttpRequest doesn't return a wrong cached answer when there is a Vary header in response.