Why to write unit tests – with real world bad example. | Dark Hacker News