Unit tests are there to make the code less fragile, so that it can be modified with confidence. But if you need tests to make your code robust, it's likely a mess underneath; probably better to spend the time refactoring.
Personally, I say write tests when it makes development quicker or serves as a good example / spec.
Personally, I say write tests when it makes development quicker or serves as a good example / spec.