Added test for S3 connection