The upload is done in the test body. Here it just creates the local GPG Key file.