@Test
public void atomLabels() {

    CxSmilesState state = new CxSmilesState();
    assertThat(CxSmilesParser.processCx("|$;;;Het;;;;;A$|", state), is(not(-1)));
    assertThat(state.atomLabels, hasEntry(3, "Het"));
    assertThat(state.atomLabels, hasEntry(8, "A"));
}