remove post_attachment test helper