Added integration tests for S3 functions.