New tests to stoqlib/domain/attachment.py

This patch implements new cases of test to domain/attachment.py

Change-Id: I661309eb548a2ec6e68723d76a1b476b0ff75fec