Fix passing wrong dictionary to multipart request.
adding test to validate body parts
Merge branch 'MultipartFix'