Fix attachment tests

All attachments are now saved inside application so now separate tests
are needed for different kind of attachment.