refine test spec
improve attachments handling: non image files