In a series string, it's generally not a good idea to mix batteries of differing ages. The higher internal resistance and other possible cell failures in the old battery can lead to reduced capacity and premature failure of the new battery. And usually, when one battery is at the end of its service life, the other one is not far behind. It's always better to replace them as a set.
If after testing you still have significant capacity left in one of the batteries, I would use it up in a different 12V application.