Inserted test whether the resource 'uploadsource' is already registered.
Bug: 65530

Change-Id: I1b82d6dc6a37792d4e7b7d01316802ea4d38a88b
Merge "Inserted test whether the resource 'uploadsource' is already registered. Bug: 65530"