I have seen countless projects like this where as time moves closer to the deadline, desperation sets in, good practices get thrown out of the window.
Usually to recover and speed up such a project, one needs a test framework setup so one can call in freelancers to help.