Attachment's tests

It closes #82