Added failing test
Added some more tests
Check the resource. Fixes #182
Updated ChangeLog
Merge pull request #183 from christeredvartsen/content-type-on-error-fix

Fix content type on errors