Added test for attahcment in plain text

Added a test for plain text attachments, this does not add the
accept encoding gzip header, but is there ready for future work
on pulling gzipped attachments from Couch