"so all you need to do is to check whether you copied it correctly, and then move on to the real problem - i.e. do the tests now actually work reliably across templates?"
Yes, I had tested that it ran reliably. Using this, SendItem, SendReceiveItem which were failing before would not fail. Also, the automatic option in the suite will also work more reliably, since we would not worry about slight changes in the options text across templates. Sure, I know that this algorithm is slightly difficult to understand.

I see that breaking the strings into individual words and matching all non trivial strings (any word longer than length 1 so we don't match hyphens) is much easier to understand, so I should change the LCS algorithm to this algorithm.

Is that fine?