In AtomContainerComparatorTest the method
tries to perform the following type of checks:
Assert.assertEquals("object <-> cycloPentane", -1, comparator.compare(object, cycloPentane));
However this will always fail since Object cannot be cast to IAtomContainer, yet the comparator is defined to implement Comparator
As a result during instantiation, the class cast is attemtped and fails.
The conclusion is that Object cannot be compared to IAtomContainer due to the definition of the comparator.
As a result, the tests should either be removed or instead should be rewritten to make sure that the ClassCastException occurs