@Test
public void testWithForm() {

	FormDocument newForm = ld1.createForm(Collections.singletonList(new TermImpl("en", "add1")));
	assertEquals(lid, newForm.getEntityId().getLexemeId());
	assertEquals(ld1.getForms().size() + 1, ld1.withForm(newForm).getForms().size());
	assertEquals(newForm, ld1.withForm(newForm).getForm(newForm.getEntityId()));
}