@Test
public void testWithSense() {

	SenseDocument newSense = ld1.createSense(Collections.singletonList(new TermImpl("en", "add1")));
	assertEquals(lid, newSense.getEntityId().getLexemeId());
	assertEquals(ld1.getSenses().size() + 1, ld1.withSense(newSense).getSenses().size());
	assertEquals(newSense, ld1.withSense(newSense).getSense(newSense.getEntityId()));
}