@Test
public void testCreate() {

    
    System.setProperty(ZTSConsts.ZTS_PROP_AWS_RDS_MASTER_INSTANCE, "instance");
    System.setProperty(ZTSConsts.ZTS_PROP_AWS_RDS_USER, "rds-user");
    System.setProperty(ZTSConsts.ZTS_PROP_AWS_RDS_IAM_ROLE, "role");
    System.setProperty(ZTSConsts.ZTS_PROP_AWS_RDS_CREDS_REFRESH_TIME, "1");
    
    AWSCertRecordStoreFactory factory = new TestAWSCertRecordStoreFactory();
    CertRecordStore store = factory.create(null);
    
    // sleep a couple of seconds for the updater to run
    try {
        Thread.sleep(2000);
    } catch (InterruptedException ignored) {
    }
    assertNotNull(store);
    System.clearProperty(ZTSConsts.ZTS_PROP_AWS_RDS_MASTER_INSTANCE);
    System.clearProperty(ZTSConsts.ZTS_PROP_AWS_RDS_USER);
    System.clearProperty(ZTSConsts.ZTS_PROP_AWS_RDS_IAM_ROLE);
    System.clearProperty(ZTSConsts.ZTS_PROP_AWS_RDS_CREDS_REFRESH_TIME);
}