added test for uploading with no key and increased sleep timeout