Add additional unit test for Molecule.substitute.