fix tests with content_type