diff --git a/src/test/org/openscience/cdk/interfaces/AbstractAtomContainerTest.java b/src/test/org/openscience/cdk/interfaces/AbstractAtomContainerTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/openscience/cdk/interfaces/AbstractAtomContainerTest.java
+++ b/src/test/org/openscience/cdk/interfaces/AbstractAtomContainerTest.java
@@ -77,7 +77,7 @@ public abstract class AbstractAtomContainerTest extends AbstractChemObjectTest {
     }
 
     @Test public void testCloneButKeepOriginalsIntact() throws Exception {
-        IMolecule molecule = (IMolecule)newChemObject();
+        IAtomContainer molecule = (IAtomContainer)newChemObject();
         IAtom atom = molecule.getBuilder().newAtom();
         molecule.addAtom(atom);
         Assert.assertEquals(atom, molecule.getAtom(0));
Fixed a ClassCastException in a unit test; I messed up (mea culpa)