Write a test case for #319
Fixes #319 overriding the response content-type

Setting the response content-type to 'application/json' when the
response has a body object but there is no content-type value given.
Merge pull request #412 from couchbase/feature/issue_319

Fixes #319 overriding the response content-type