Fix test for bond term equality when the ordering of the atom types in the bond
is reversed.