Checking header of response works