Add unit test to ensure endpoint-url is passed to botocore for s3