fixing url reference to use reverse
adding test conditions - wip
finally, getting tests to verify url for attachments working to confirm that url name for attachment retrieval isn't conflicted anywhere
test cleanup