Refactor mock implementations in S3 service tests to replace `any` with `unknown` for improved type safety and consistency.
S3Service