Wrap raw elements into div.
Add test for application option attachments