remove unused attachment_src flag in attachment view
fix cache tests