test: Set mimetype on flask and werkzeug responses