refactor test case code
crude first attempt at multi-part from upload

File attachments assumed to be text/plain.  No provision for
proper value quoting or encodings.