make attachment specs more realistic

the sent params to not match the ones that are actually sent when running the server.
change them to mirror the real world better
Merge pull request #2364 from opf/fix/attachment_tests

make attachment specs more realistic