You didn't say anything about the docs. Where did the documentation for the code line up on this?
You're not trying to get code and tests to agree. You're trying to get code AND docs AND tests to all agree. If any one of them disagrees with the other, you have a bug.
xoxo,
Andy
Comment on Re: A danger of test driven development.