added tests for s3