Fixed the RequestHeadersSetCorrectly test to test for user agent
Made changes as per code review feedback