Fix: Make sure the test waits for the files to be uploaded.
Fix: Make sure the test waits for the files to be uploaded.

Just because waitonsyncs(...) has returned doesn't mean the syncs are
truly idle. Some files may not've been queued for upload as they're
waiting for the upload delay to expire.

meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk