Attachments functional tests added