Nice article! One addition from me: A code coverage metric of 80% or similar doesn't indicate that your testing is good. Just because there is a test doesn't mean that it is a good one. Maybe you can clarify that more in your article. For your example, it's ok. But in more complex software systems, thinking about usefuls tests is essential to finding more bugs.