test cases for attachments_controller
giignore updated