Plan t/40-upload.t properly; fixes GH #50