@Test
void testCreateSubcontext() throws Exception {

    DefaultInitialContext context = new DefaultInitialContext();
    context.createSubcontext(new CompositeName("context"));
    context.bind("context/name1", "value1");
    assertNotNull(context.lookup("context/name1"));
}