get file uploads working in flask-test