Working async upload, e2e testing for uploading an image