Fixed unit tests

When we updated the tools right before the release, I forgot to make sure that the unit tests were still passing. This pull request adds in mocks for the updated certificate signing as well as for the updated way we get the serving URL in upload-app, and all unit tests pass now.