Use mocking for tests, instead of talking to S3