Coerce headers object to list for comparison
Merge pull request #312 from passy/headers-test

Coerce headers object to list for comparison