Use headers.get instead of indexing in test cases
Merge pull request #73 from wcdolphin/test/headers-get

Use headers.get instead of indexing in test cases