added test for passing in http headers params to api