Added test for proper headers returned in response xhr object