Better content header error and slight refactor of test helper
Merge pull request #279 from alphagov/clearer-content-type-error

Better content header error and slight refactor of test helper