@Test
public void matchOnNested() throws Exception {

    // given
    final DataSetMetadata metadata = getMetadata("456789");
    metadata.getLifecycle().setImporting(true);
    repository.save(metadata);
    // when
    final boolean match = repository.exist("lifecycle.importing = true");
    final boolean noMatch = repository.exist("lifecycle.importing = false");
    // then
    assertTrue(match);
    assertFalse(noMatch);
}