@Test
public void testLoadConfig() {

    assertEquals(numPropsLoaded, configurationService.getProperties().size());
    configurationService.loadConfig("newA", "A");
    assertEquals(numPropsLoaded+1, configurationService.getProperties().size());
    assertEquals("A", configurationService.getProperty("newA"));
    configurationService.loadConfig("newB", "service is ${service.name}");
    assertEquals(numPropsLoaded+2, configurationService.getProperties().size());
    assertEquals("service is DSpace", configurationService.getProperty("newB"));
    configurationService.loadConfig("newA", "aaronz");
    assertEquals(numPropsLoaded+2, configurationService.getProperties().size());
    assertEquals("aaronz", configurationService.getProperty("newA"));
    // Clear out newly added props
    configurationService.clearConfig("newA");
    configurationService.clearConfig("newB");
    assertEquals(numPropsLoaded, configurationService.getProperties().size());
}