Tidy view_test in the admin edition attachments macros

Mostly we can check the assigned object and what the state of its edition_attachments is like rather that checking that the fields are on the page.