feat(before): add before clb to do stuff before .end
tests(upload): test that we can attach files for upload