@Test
public void testGetS3Client() {

    System.setProperty(ZTS_PROP_AWS_PUBLIC_CERT, "src/test/resources/aws_public.crt");
    CloudStore store = new CloudStore();
    store.credentials = new BasicSessionCredentials("accessKey", "secretKey", "token");
    store.awsEnabled = true;
    store.awsRegion = "us-west-2";
    assertNotNull(store.getS3Client());
    assertNotNull(store.getS3Client());
    store.close();
}