added unit test to AmazonS3Client