Added tests for S3