@Test
public void escapedAtomLabels() {

    CxSmilesState state = new CxSmilesState();
    assertThat(CxSmilesParser.processCx("|$R&#39;;;;;;;$|", state), is(not(-1)));
    assertThat(state.atomLabels, hasEntry(0, "R'"));
}