Update tests for the UploadHandler