I just wrote something like 20 unit tests for rebuildd. Writing them, I found at least 2 critical bugs.

Either I'm bad, or unit tests are very useful.

Or both.