added a test for standalone attachment upload for #52