This is why TDD exist, it doesn't necessarily improve the product or delivery speed, but it keeps you sane while the project is half baked.
I've found incorporating tests on my personal projects allow me to pick it up after even a year or two, but if I don't have tests, they inevitably become so jumbled that they cannot be salvaged once the initial effort is over.