Added extra assertions to the test for COUCHDB-885 This is to verify the attachments really exist in the target and have the right data and metadata.