See the following blog:

http://blogs.msdn.com/b/dsts/archive/2012/10/08/test-attachment-cleaner-everything-you-need-to-know-about.aspx