@Test
public void testExtractInstanceIdURI() throws IOException {

    Path path = Paths.get("src/test/resources/athenz.instanceid.uri.csr");
    String csr = new String(Files.readAllBytes(path));
    X509CertRequest certReq = new X509CertRequest(csr);
    assertNotNull(certReq);
    assertEquals(certReq.getInstanceId(), "id-001");
}