http 400 if wrong content type (with unit tests)