Add test coverage for upload asset error handling