public static Finder expandedFinder(String... queries) {
    var finder = identSum();

    for (String query : queries) {
      finder = finder.or(Finder.contains(query));
    }
    return finder;
  }
@Test
  void expandedFinderTest() {
    var res = expandedFinder("It was", "kingdom").find(text());
    assertEquals(3, res.size());
    assertEquals("It was many and many a year ago,", res.get(0));
    assertEquals("In a kingdom by the sea,", res.get(1));
    assertEquals("In this kingdom by the sea;", res.get(2));
  }