@Test
public void testMOIFromSmiles() throws InvalidSmilesException {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer mol = sp.parseSmiles("CCCC");
    DescriptorValue value = descriptor.calculate(mol);
    Assert.assertNotNull("The Exception should be non-null since we don't have 3D coords", value.getException());
}