@Test
public void testRemoveIdx() {

    metadata.commit(() -> {
        List<String> list = getList("prop1");
        String oldElem = list.remove(1);
        
        assertThat(oldElem).isEqualTo("b");
    }, MetadataAccess.SERVICE);
    
    metadata.read(() -> {
        List<String> list = getList("prop1");
        
        assertThat(list).contains("a", "c");
    }, MetadataAccess.SERVICE);
}