[enh] change attachments output dir
[enh] add several configs, and create tests automatically