Add test for failure to upload a chunk.