add tests for attachments controller; make those not UI pass
organize views better
simplify translation keys
simplify logging in tests