test: Add checks for correct content-type.
test: Add checks for correct content-type.

- Add a assertions for correct content-type when an object is sent as the response.

yoshuawuyts/merry,shipharbor/merry