Inlined test molecule creation from MoleculeFactory.java.