@jerry
Unit tests (more precise: regression tests) come in handy whenever you refactor, so you don’t break consistency/compatibility.