Tests for cancelled upload and cancelled download