Badly done unit testing yes.
How's that? This is a perfectly perfect gate. Nothing wrong with the unit. The problem is in the usage.
Exactly. This is why I still think this was a perfect illustration of what unit testing can bring you, and what it can't.