@Test
public void testRemove() {

    metadata.commit(() -> {
        List<String> list = getList("prop1");
        boolean result = list.remove("x");
        
        assertThat(result).isFalse();
        
        result |= list.remove("a");
        result |= list.remove("c");
        
        assertThat(result).isTrue();
    }, MetadataAccess.SERVICE);
    
    metadata.read(() -> {
        List<String> list = getList("prop1");
        
        assertThat(list).contains("b");
    }, MetadataAccess.SERVICE);
}