@Test
public void initNoRegionException() {

    System.clearProperty(ZTS_PROP_AWS_REGION_NAME);
    S3ChangeLogStore store = new S3ChangeLogStore(null);
    try {
        store.getS3Client();
        fail();
    } catch (RuntimeException ex) {
        assertEquals(ex.getMessage(), "S3ChangeLogStore: Couldn't detect AWS region");
    }
}