@Test
public void testIssue494() throws Exception {

  // bug is only triggered if the value is committed
  topicmap.getStore().commit();
  Assert.assertNotNull("Bug 494: empty occurrence value returned as null", occurrence.getValue());
}