Fix AwsS3 unit test.