@Test
public void shouldMatchOnlyShortId() throws JSONException, IOException {

    String childId = "abcdefghijklmnop";
    String childShortId = "jklmnop";
    Child child1 = new Child(childId, "user1", "{ 'name' : 'first second', 'test2' : 0, 'test3' : [ '1', 2, '3' ] }");
    repository.createOrUpdate(child1);
    childSearch = new ChildSearch(childId, repository, highlightedFormFields);
    List<Child> children = childSearch.getRecordsForFirstPage();
    assertEquals(0, children.size());
    childSearch = new ChildSearch(childShortId, repository, highlightedFormFields);
    children = childSearch.getRecordsForFirstPage();
    assertEquals(1, children.size());
}