Add tests to show that metadata is not not removed with attachment.
Add tests to show that metadata is not not removed with attachment.

refile/refile,Eric-Guo/refile,manfe/refile,refile/refile,ChanChar/refile,manfe/refile,Eric-Guo/refile,Eric-Guo/refile,ChanChar/refile,ChanChar/refile,refile/refile,manfe/refile