Mocha test for 10 pdf attachments