Adding some S3-related unit tests.