Update README to show how to add an attachment
Check for attachments collection empty
Update tests:

* Test more failure modes
* Fix whitespace, long lines